var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(e, c, b) {
    (e == 1) ? status++ : status--;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            var d = "你想离开这个地方吗？想去哪里？\r\n\r\n";
            d += "#L1##b移动到#e里恩#n。（费用：0金币)\r\n#l";
            cm.askYesNo(d)
        } else {
            if (status === a++) {
                cm.sendOk("要回去里恩吗？刚好我们马上就要开船了。上来吧！")
            } else {
                if (status === a++) {
                    cm.dispose();
                    cm.warp(141000200, 0)
                } else {
                    cm.dispose()
                }
            }
        }
    }
};